home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / time / backclock.lha / backclock / sources / style / main.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  821 b   |  33 lines

  1. #include <intuition/intuition.h>
  2.  
  3. #define IDCMP IDCMP_CLOSEWINDOW | IDCMP_MOUSEBUTTONS | IDCMP_GADGETUP
  4. #define FLAGS WFLG_DRAGBAR | WFLG_DEPTHGADGET | WFLG_CLOSEGADGET
  5. #define TITLE "Clock designer"
  6. #define STITLE "Clock designer 1.1"
  7. #define VER    "\0$VER: Clock designer 1.1 (5/08/99) From backclock package"
  8. #define WIDTH 200
  9. #define HEIGHT 200
  10. #define PX  104
  11. #define PY  144
  12. #define GRID 8
  13.  
  14. #define GADHEIGHT 20
  15. /* the buttons id
  16.  */
  17. #define ID_SAVE  1
  18. #define ID_CLEAR 2
  19. /* for the choice
  20.  */
  21. #define ASECONDS 0
  22. #define AMINUTES 1
  23. #define AHOURS   2
  24.  
  25.  
  26. struct coords {
  27.   ULONG x,                       /* postion x relatif to center of the clock */
  28.         y ;                      /*     pos y */
  29.   struct coords * next ;                                       /* next point */
  30. } ;
  31.  
  32. typedef struct coords SPoint ;
  33.